package service;

import java.math.BigDecimal;

public class NoDisStrategy implements Strategy{

    /**
     * 满100 减 10 元
     * @param begin
     * @return
     */
    @Override
    public BigDecimal calcForSum(BigDecimal begin) {

        return begin.
                setScale(1,BigDecimal.ROUND_HALF_EVEN);
    }
}
